home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
601-625
/
apd617
/
malcolm_lavery
/
rainbow _writer
/
read_me
< prev
Wrap
Text File
|
1986-08-03
|
6KB
|
165 lines
*
*******************************************************
* R A I N B O W *
* W R I T E R *
* ----------- *
* Version 1.1 *
* By Malcolm Lavery *
* ©1994 *
*
*******************************************************
AN INTRODUCTION
***************
Welcome to the wonderful world of rainbows,a world so
colourful that the best pair of shades would have trou
ble dimming.
As you will see from the example programs supplied on
this disk,rainbows can be used for more than colourful
backgrounds for games,they can be moved,scrolled and an
imated in a number of ways.
The main Rainbow Writer program needs no instructions,f
or it is by far the easiest and best rainbow editor to
use,all functions can be selected with the mouse,by poi
nting and clicking on one of the buttons,or by using the
keyboard short cut for that button,which are clearly ma
rked along side the button name.
RAINBOW BANKS
*************
Once you have drawn your rainbow using the Ranibow writ
er program,you can save it,in two ways,
1: As a full screen rainbow,this will save the whole sc
reen as a rainbow,even if all the screen is not used,th
is is good for game backgrounds where only one rainbow
is needed in the background of the game,full screen rai
nbow banks have the extension ".rnb",at the end of there
filename.
2: As cut rainbows,these are small sections of rainbows
that you have cut from the screen,into the buffer,and
then saved to disk as a rainbow cut,rainbow cuts have
the extension ".buf",at the end of the filename.
Once saved to disk, either as a ".rnb" or ".buf" rainbow
bank,they will both be loaded and displayed in Amos the
same way.
The only difference between the two types of rainbow ba
nks once loaded into Amos/Amos Pro,is their size.
You can load the rainbow banks into you amos program wh
en you require them,or you can load and then save the
rainbow banks along with your program.
HOW TO LOAD AND DISPLAY A RAINBOW BANK
**************************************
You can display your full or cut rainbow bank using the
procedures on this disk,they are:
_RAINBOW[Number,Bank,Ypos,Effected]
***********************************
Number=rainbow number (0 to 3)
Bank=Source rainbow bank to display
Ypos=Start Y screen coordinate
Effected=screen colour effected by rainbow
This procedure simply displays a new rainbow onto the
screen from a rainbow bank starting from the Ypos,and
effecting(showing through) a chosen screen colour.
_UPDATE_RAINBOW[Number,Bank]
****************************
Number=Already displayed rainbow to update
Bank=Source bank of new rainbow
This procedure allows you to update the contents of a
already displayed rainbow.
_MERGE_RAINBOW[Number,Bank,Ypos]
********************************
Number=Number of a already displayed rainbow to merge to
Bank=Source bank of rainbow to merge
Ypos=Y coordinate of merged rainbow
This procedure allows you to merge as many rainbows as
you like into a already displayed rainbow.
_MOVE_RAINBOW[Number,Ypos]
**************************
Number=Number of a already displayed rainbow to move
Ypos=New Y coordinate
This procedure is used to move a already displayed rain
bow to a new Y coordinate.
OTHER COMMANDS
**************
You are not limited to these procedures,these were wrote
by my to make displaying the rainbow banks as simple as
possible,once a rainbow bank is loaded and displayed on
to the screen,it can be treated in just the same way as
a normal rainbow,in fact once displayed,it is a normal
rainbow,and as such,it can me moved,changed,animated etc
with any of the normal Amos rainbow commands.
FOR MORE EXPERIENCED AMOSERS.
-----------------------------
THE BANK FORMAT IS AS FOLLOWS.
------------------------------
Header
dc.l Address of next bank Start-24
dc.l Length of bank+16 Start-20
dc.l Number of bank Start-16
dc.w Flag Start-12 (3=Chip Data or
1=Fast Data)
dc.w Free for future use Start-10 (Do not use!)
dc.b "Rainbows" Start-8 (Name of bank *8
bytes)
Start Returned by START function
REPT Number of scanlines in rainbow
dc.w colour decimal value of rainbow scanline
ENDR
If you like this program and feel a overwhelming urge to
give me something for it,or just want to get in contact
with me,then write to me at the following address...
MALCOLM LAVERY
20 SHAKESPEARE AVENUE
ORGILL
EGREMONT
CUMBRIA
CA22 2HF
ENGLAND
THIS PROGRAM IS PUBLIC DOMAIN,but if you do spread or
copy it then please copy all the associated files and
text files with it,and please do not change them!!!.
Thanks (Mal)...